# Replication files 

This archive contains the replication files for the analysis in Liebert, H. and
Mäder, B., 2024, Physicians and the production of health: Returns to health care
during the mortality transition", Review of Economics and Statistics,
forthcoming. 

## Software

All of the analysis is run in STATA. Most of the analysis was run
in Stata 13, some in Stata 15 and 16. Nevertheless, the results should replicate
with newer versions. 

## Files and content

The included files are

- `descriptives.do`
- `analysis.do`
- `semiparametric-iv.do`

The code used for generating all descriptive tables and figures in the paper (Table 1, Figures 1-3) is contained in `descriptives.do`. The code for the analysis and regression results (Tables 2-5, Figure 4) is contained in `analysis.do`. The code for the semiparametric IV analysis (Figure 5) is contained in `semiparametric-iv.do`.

## Analysis

## Analysis
- `analysis.do`
- `semiparametric-iv.do`

[B] The README file should also contain a data dictionary that defines each variable and gives the
provenance of all the data.
[C] The README file should identify the version of the software used (by version number and/or release
date) and similarly for the operating system on which the software runs.
[D] All data should be provided in ASCII format, and the version of the code submitted to the archive should
call these same ASCII files.
[E] Authors should provide the original data from which the final dataset is derived and all instructions/code
necessary to turn the original data into the dataset analyzed.
[F] The author should provide code such that the data and code, when placed in the same subdirectory, will
execute. Also, the output from doing so should be provided. The author should check to make sure that this
runs correctly and produces the results in his paper.
[G] The archive should list each paper regardless of whether the paper has been exempted from the rules.
Sometimes a paper has been exempted from the data requirement. In such cases, the archive should say that
the paper has been exempted from the data requirement, and the code should still be required.
Additionally, authors should provide information in the README file about how to access proprietary data.
This information should include complete contact information and instructions in addition to the
code/program files.
We are not requiring that you comply with all of these guidelines: for example, some authors may want to
submit STATA data files instead of ASCII. Please keep in mind that ultimately you are responsible for
making your results reproducible.
